import { Injectable } from '@nestjs/common';
import { UserService } from 'src/user/user.service';
@Injectable()
export class UploadFileService {
    constructor(private readonly userService:UserService){}
    upload_avator(file: Express.Multer.File,id:string) {
        return this.userService.updateuser(id,{avater: file.path})
    }
}
